const company = {
  namespaced: true,
  state: {
    companyList: [
      {
        avatarUrl: "@/assets/imgs/company/company_avatar.jpg",
        companyName: "BOSS直聘",
        companyText: {
          status: "已上市",
          staffSize: "999人",
          type: "人力资源",
        },
        companyInfo:
          "BOSS直聘是一款在全球范围内率先发展移动互联网“直聘”模式的在线招聘APP，于2014年7月上线，2021年6月在纳斯达克上市。BOS ...",
        companyLink: {
          campusJobs:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=102",
          internPosition:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=108",
          companyEvaluation:
            "https://www.zhipin.com/gongsi/review/fa2f92669c66eee31Hc~.html",
        },
      },
      {
        avatarUrl: "@/assets/imgs/company/company_avatar.jpg",
        companyName: "BOSS直聘",
        companyText: {
          status: "已上市",
          staffSize: "999人",
          type: "人力资源",
        },
        companyInfo:
          "BOSS直聘是一款在全球范围内率先发展移动互联网“直聘”模式的在线招聘APP，于2014年7月上线，2021年6月在纳斯达克上市。BOS ...",
        companyLink: {
          campusJobs:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=102",
          internPosition:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=108",
          companyEvaluation:
            "https://www.zhipin.com/gongsi/review/fa2f92669c66eee31Hc~.html",
        },
      },
      {
        avatarUrl: "@/assets/imgs/company/company_avatar.jpg",
        companyName: "BOSS直聘",
        companyText: {
          status: "已上市",
          staffSize: "999人",
          type: "人力资源",
        },
        companyInfo:
          "BOSS直聘是一款在全球范围内率先发展移动互联网“直聘”模式的在线招聘APP，于2014年7月上线，2021年6月在纳斯达克上市。BOS ...",
        companyLink: {
          campusJobs:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=102",
          internPosition:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=108",
          companyEvaluation:
            "https://www.zhipin.com/gongsi/review/fa2f92669c66eee31Hc~.html",
        },
      },
      {
        avatarUrl: "@/assets/imgs/company/company_avatar.jpg",
        companyName: "BOSS直聘",
        companyText: {
          status: "已上市",
          staffSize: "999人",
          type: "人力资源",
        },
        companyInfo:
          "BOSS直聘是一款在全球范围内率先发展移动互联网“直聘”模式的在线招聘APP，于2014年7月上线，2021年6月在纳斯达克上市。BOS ...",
        companyLink: {
          campusJobs:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=102",
          internPosition:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=108",
          companyEvaluation:
            "https://www.zhipin.com/gongsi/review/fa2f92669c66eee31Hc~.html",
        },
      },
      {
        avatarUrl: "@/assets/imgs/company/company_avatar.jpg",
        companyName: "BOSS直聘",
        companyText: {
          status: "已上市",
          staffSize: "999人",
          type: "人力资源",
        },
        companyInfo:
          "BOSS直聘是一款在全球范围内率先发展移动互联网“直聘”模式的在线招聘APP，于2014年7月上线，2021年6月在纳斯达克上市。BOS ...",
        companyLink: {
          campusJobs:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=102",
          internPosition:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=108",
          companyEvaluation:
            "https://www.zhipin.com/gongsi/review/fa2f92669c66eee31Hc~.html",
        },
      },
      {
        avatarUrl: "@/assets/imgs/company/company_avatar.jpg",
        companyName: "BOSS直聘",
        companyText: {
          status: "已上市",
          staffSize: "999人",
          type: "人力资源",
        },
        companyInfo:
          "BOSS直聘是一款在全球范围内率先发展移动互联网“直聘”模式的在线招聘APP，于2014年7月上线，2021年6月在纳斯达克上市。BOS ...",
        companyLink: {
          campusJobs:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=102",
          internPosition:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=108",
          companyEvaluation:
            "https://www.zhipin.com/gongsi/review/fa2f92669c66eee31Hc~.html",
        },
      },
      {
        avatarUrl: "@/assets/imgs/company/company_avatar.jpg",
        companyName: "BOSS直聘",
        companyText: {
          status: "已上市",
          staffSize: "999人",
          type: "人力资源",
        },
        companyInfo:
          "BOSS直聘是一款在全球范围内率先发展移动互联网“直聘”模式的在线招聘APP，于2014年7月上线，2021年6月在纳斯达克上市。BOS ...",
        companyLink: {
          campusJobs:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=102",
          internPosition:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=108",
          companyEvaluation:
            "https://www.zhipin.com/gongsi/review/fa2f92669c66eee31Hc~.html",
        },
      },
      {
        avatarUrl: "@/assets/imgs/company/company_avatar.jpg",
        companyName: "BOSS直聘",
        companyText: {
          status: "已上市",
          staffSize: "999人",
          type: "人力资源",
        },
        companyInfo:
          "BOSS直聘是一款在全球范围内率先发展移动互联网“直聘”模式的在线招聘APP，于2014年7月上线，2021年6月在纳斯达克上市。BOS ...",
        companyLink: {
          campusJobs:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=102",
          internPosition:
            "https://www.zhipin.com/job_detail/?query=BOSS%E7%9B%B4%E8%81%98&city=100010000&experience=108",
          companyEvaluation:
            "https://www.zhipin.com/gongsi/review/fa2f92669c66eee31Hc~.html",
        },
      },
    ],
    companyData: JSON.parse(localStorage.getItem("tableData")) || [],
  },
  actions: {},
  mutations: {
    DELETEROW(state, id) {
      state.companyData = state.companyData.filter((item) => {
        return item.company_id != id
      })
      console.log(state.companyData)
    },
  },
  getters: {},
}

export default company
